<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type = "text/javascript" src = "../jquery-1.7.2.js"></script>
    <script>
        $(function(){
            var i = 1;
            var a = 2;
            if(a == 1)
                alert("111211");
            else if(a == 2)
                alert("22222222");
            else if(a == 2)
                })      alert("333333333");

    </script>
</head>
<body>

</body>
</html>